﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeiXin.SDK.Entities.Menu;

namespace WeiXin.SDK.Entities
{
    /// <summary>
    /// 菜单，暂时不支持个性化菜单
    /// </summary>
    public class GetMenuResult
    {
        public ButtonGroupBase menu { get; set; }


    }

    public class GetMenuResultFull : WxJsonResult
    {
        public MenuFull_ButtonGroup menu { get; set; }
    }

    public class MenuFull_ButtonGroup
    {
        public MenuFull_ButtonGroup()
        {
            button = new List<MenuFull_RootButton>();
        }
        public List<MenuFull_RootButton> button { get; set; }
    }

    public class MenuFull_RootButton
    {
        public MenuFull_RootButton()
        {
            type = "";
            key = "";
            name = "";
            url = "";
            sub_button = new List<MenuFull_RootButton>();
        }
        public string type { get; set; }
        public string key { get; set; }
        public string name { get; set; }
        public string url { get; set; }
        public List<MenuFull_RootButton> sub_button { get; set; }
    }
}
